<template>
  <section class="section3">
    <h2>——&nbsp;&nbsp;猜你喜欢&nbsp;&nbsp;——</h2>

    <ul class="section3Ul">
      <li v-for="(item, index) in commoditys" :key="index">
        <a href="javascript:;">
          <img :src="item.goods_image" alt="" />
          <div class="goodCont">
            <h3>{{ item.goods_name }}</h3>
            <p class="selled">已售{{ item.goods_sales }}件</p>
            <p class="price">
              ¥{{ item.goods_price_max }}<span>¥{{ item.line_price_max }}</span>
            </p>
          </div>
        </a>
      </li>
    </ul>
  </section>
</template>

<script>
export default {
  props: ['commoditys']
}
</script>

<style></style>
